package com.iafme.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author summer
 * @version 1.0
 * @date 2025/1/7 10:03
 * 考试项目
 */
@TableName(value = "iafme_course")
@Data
public class Course implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("projectId")
    private Integer projectId;

    @TableField("subjectId")
    private Integer showingsId;

    @TableField("levelId")
    private Integer levelId;

    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "courseDate")
    private LocalDate courseDate;

    private BigDecimal amount;

    @TableField("startTime")
    private LocalTime startTime;

    @TableField("endTime")
    private LocalTime endTime;
}
